package com.dualsportmaps.android;

import java.io.Serializable;
import java.util.Date;

public class Trackpoint extends SimpleTrackpoint implements Serializable {

	private static final long serialVersionUID = 1L;
	private float latitude;
    private float longitude;
    private float elevation;
    private Date ts;
    public Trackpoint(){}
	public Trackpoint(float lat, float lon) {
        this.latitude = lat;
        this.longitude = lon;
    }
	public Trackpoint(float lat, float lon, float elevation) {
        this.latitude = lat;
        this.longitude = lon;
        this.elevation  = elevation;
    }	
	public Trackpoint(float lat, float lon, float elevation, Date ts) {
        this.latitude = lat;
        this.longitude = lon;
        this.elevation  = elevation;
        this.ts = ts;
    }

    public float getElevation() {
		return elevation;
	}

	public void setElevation(float elevation) {
		this.elevation = elevation;
	}
	
	public Date getTS() {
		return ts;
	}
	public void setTS(Date ts) {
		this.ts = ts;
	}
	public float getLatitude() {
		return latitude;
	}
	public float getLongitude() {
		return longitude;
	}
}
